package xin.marcher.wind.migrate.order.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import xin.marcher.framework.mybatis.dataobject.BaseDO;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单明细
 */
@Data
@TableName("order_item")
@EqualsAndHashCode(callSuper = true)
public class OrderDetailDO extends BaseDO {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String orderId;

    private Integer productType;

    private Long productId;

    private Integer saleQuantity;

    private Integer salePrice;
}
